package any.incubator;

public interface Option<T> extends Iterable<T> {

	boolean hasNone();
	
	boolean hasSome();
	
	T some() throws IllegalStateException;
	
	T orSome(T value);
	
	int size();
}
